package com.objectproject.main.dao.mybatis.mapper.hierarchy;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Param;

import com.objectproject.main.model.MyGroup;

public interface MembershipMapper {
	public abstract ArrayList<Long> selectGroupIds(long userId);
	public abstract ArrayList<MyGroup> selectGroups(long userId);
	public abstract ArrayList<Long> selectMemberIds(long groupId);
	public abstract void insertMembership(@Param("userId")long userId, @Param("groupId")long groupId);
	public abstract void deleteMembership(@Param("userId")long userId, @Param("groupId")long groupId);


}
